class Enumerate(object):

    def __init__(self, *names):
        for number, name in enumerate(names):
            setattr(self, name, number)
